let app = getApp();
Page({
  data: {
    dataArr:[]
  },
  onLoad (options) {    
    let that= this;
    app.get('GetShangPinNew',{
      action:'getbaokuan',
      keyname: options.currid
    }).then((res)=>{      
        that.setData({
          dataArr:res
        });
    })
  },
  detailJump(res) {
    let shopId = res.currentTarget.id;
    wx.navigateTo({
      url: '/pages/detail/detail?shopId=' + shopId,
    });
  },
})